<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>IBMS-Platform</title>
    <% if(context.env === 'production') { %>
    <script type="text/javascript" src="file:^html/static/baja.js"></script>
<!--    <script type="text/javascript" src="file:^html/static/three.js"></script>-->
    <script>
      window.bajaPromise = new Promise((resolve)=>{
        require(['baja!'], (baja) => {
          "use strict";
          resolve(baja);
        })
      });
      window.onbeforeunload = function(event) {
        if(confirm("Page Refresh?")){
          location.href = '/';
        }
      }
    </script>
    <base url="/"/>
    <% } %>
</head>
<body>
<div id="root"></div>
</body>
</html>
